$defaultWidth: 100%;
$defaultPadding20: 20px;
$defaultPadding10: 10px;
$swiperHeight: 407px;
$swiperWidth: 100%;
$defaultColor: #ffb72f;
$defaultFontSize: 26px;
$defaultMultipleFontSize: 6px;
.flexCS {
  display: flex;
  align-items: center;
}
.card {
  border-radius: 18px;
  padding: $defaultPadding20;
  background-color: white;
  margin: 0 auto $defaultPadding20 auto;
}
.item {
  margin: $defaultPadding20 0;
}
.icon {
  width: 40px;
  height: 40px;
}
.spec_active {
  color: $defaultColor !important;
  border: 1px solid $defaultColor !important;
  background-color: white !important;
}

.money {
  flex: 1;
  font-size: 1.125rem;
  font-weight: bold;
  color: $defaultColor;
}
.sp-reservation-resources-detail {
  background-color: whitesmoke;
  padding-bottom: calc(env(safe-area-inset-bottom) + 100px);
  &-info {
    &-money {
      flex: 1;
      font-size: 1.125rem;
      font-weight: bold;
      color: $defaultColor;
    }
    &-link {
      padding-left: $defaultPadding20;
    }
  }
  //标签
  &-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  &-tag {
    font-size: 1rem;
    border: 1px solid rgba(19, 19, 19, 0.2);
    background-color: white;
    font-weight: 500;
    color: rgba(19, 19, 19, 0.7);
    margin-top: 10px;
    margin-right: 16px;
    padding: 10px $defaultPadding20;
    border-radius: 8px;
    display: inline-block;
    //opacity: 0.7;
  }
  //商品标题
  &-title {
    font-weight: 500;
    font-size: $defaultFontSize;
  }
  //商品介绍
  &-decs {
    color: gray;
    display: block;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -moz-box;
    -moz-line-clamp: 2;
    -moz-box-orient: vertical;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    overflow: hidden;
  }
  &-tips {
    color: gray;
    font-size: 0.75rem;
  }
  &-vouchers {
    background-color: #fff7f1;
    padding: $defaultPadding20;
    border-radius: 8px;
    &-voucher {
      font-size: 0.75rem;
      padding: 5px;
      margin-left: 5px;
    }
  }
  //底部
  &-footer {
    width: 100vw;
    position: fixed;
    bottom: 0;
    &-op {
      flex: 1;
      .op-item {
        margin-right: 50px;
        text-align: center;
      }
      .op-icon {
        width: 60px;
        height: 60px;
      }
    }
  }
  //cell
  &-cell {
    display: flex;
    align-items: center;
    &-label {
      padding: $defaultPadding20;
    }
    &-content {
      color: gray;
      flex: 1;
    }
    &-value {
      color: gray;
    }
  }

  //商品弹出层
  &-goods-popup {
    border-top: 1rpx solid whitesmoke;
    .header {
      display: flex;
      .good-info {
        position: relative;
        height: 108px;
        flex: 1;
        .cover {
          position: absolute;
          top: -80px;
          width: 150px;
          height: 150px;
          border-radius: 8px;
        }
      }
      .close {
        justify-content: flex-end;
        &-icon {
          width: 50px;
          height: 50px;
        }
      }
    }
    .footer {
      &-submit {
        margin: 0 auto !important;
        width: 95% !important;
      }
    }
    .goods {
      .spec-goods {
        .spec-goods-item {
          margin: 22px 0;
        }
      }
    }
  }
}
.spec-disable {
  background-color: #f6f6f6 !important;
  color: #ccc !important;
  border: 1px #f6f6f6 solid !important;
}
